* {
    box-sizing: border-box;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #fff;
    position: relative;
}

div, section, ul, li, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, p, table, thead, tbody, tfoot, tr, th, td, form {
    margin: 0;
    padding: 0;
}


/* 列表 */

ul, ol {
    list-style: none;
    font-size: inherit;
    color: inherit;
}


/*文字*/

span, b, i, em, del, strong, big, small, pre {
    margin: 0;
    padding: 0;
    border: 0;
    font-style: normal;
    font-size: inherit;
    color: inherit;
}


/*链接*/

a {
    margin: 0;
    padding: 0;
    border: 0;
    text-decoration: none;
    font-size: inherit;
    color: inherit;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.clearfix::after {
    content: '';
    display: block;
    overflow: hidden;
    clear: both;
    height: 0;
}

.container {
    width: 1227px;
    margin: 0 auto;
}


/*------------nav-----------  */

nav {
    width: 100%;
    height: 43px;
    line-height: 43px;
    text-align: center;
    background-color: #333;
    font-size: 13px;
}

nav .container {
    display: flex;
    justify-content: space-between;
    color: #555;
}

nav .container>ul>li>a {
    color: #b0b0b0;
}

nav .nav-left {
    width: 574px;
    display: flex;
    justify-content: space-between;
}

nav .nav-right {
    width: 273px;
    display: flex;
    justify-content: space-between;
}

nav .nav-right i {
    font-size: 18px;
    position: relative;
    right: 8px;
}

nav .nav-right .xiala {
    width: 120px;
    background-color: #444;
    position: relative;
}

nav .nav-right .xiala div {
    width: 300px;
    height: 100px;
    line-height: 100px;
    background-color: #fff;
    position: absolute;
    top: 43px;
    right: 0;
    z-index: 100;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
     display: none; 
}


/*头部 */

header {
    width: 100%;
    margin: 20px 0;
    position: relative;
}
header .container {
    display: flex;
    justify-content: space-between;
}
.header-search {
    margin-top: 5px;
    width: 357px;
    height: 50px;
    position: relative;
}
.header-search .input-one {
    padding-left: 20px;
    width: 300px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
    outline: medium;
}
.header-search button {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border: 1px solid #999;
    position: absolute;
    top: 0;
    right: 8px;
}
.header-search button:hover {
    color: #fff;
    background-color: #ff6700;
}
.header-search .search-text {
    position: absolute;
    width: 210px;
    height: 20px;
    top: 15px;
    right: 80px;
}
.header-search .search-text span {
    background-color: #eee;
}
.header-ul {
    width: 620px;
    height: 99px;
    display: flex;
}
.header-ul>li {
    padding: 20px 8px;
}
.header-ul li>a:hover {
    color: #ff6700;
}

/* 下拉菜单  */

.header-div {
    width: 100%;
    height: 230px;
    background-color: #fff;
    border-top: 1px solid #aaa;
    box-shadow: 0 0.5px 0.5px #eee;
    position: absolute;
    top: 100px;
    left: 0;
    display: none;     
}
.header-div .head-con{
    position: relative;
    width: 1227px;
    margin: 0 auto;
}
.header-div .inner {
    width: 1227px;
    margin: 0 auto; 
    position: absolute;
    display: none; 
}
.header-div .head-con .headmove{
    display: block;
} 
.header-div .inner li{
    height: 230px;
    float: left;
}   
.header-div .inner>li {
    width: 200px;
    z-index: 1;
}
.header-div .inner>li>a>img {
    margin: 5px 0;
}
.header-div .inner>li>p {
    text-align: center;
} 
/* 搜索下拉 */

.header-search .search-ul {
    width: 300px;
    border: 1px solid red;
    background-color: #fff;
    display: none;
}

.header-search .search-ul>li {
    width: 300px;
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.header-search .search-ul>li:hover {
    background-color: #eee;
}


/*---main-----*/

main {
    height: 0;
}

main .main-con {
    position: relative;
    z-index: -1;
}

main .main-ul>li {
    position: absolute;
    display: none;
}

main .main-ul>li.current {
    display: block;
}

.yuandian {
    display: flex;
    margin: 0 10PX;
    position: absolute;
    top: 400px;
    right: 0;
}

.yuandian>li {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    border: 2px solid #999;
    background-color: #777;
}

.yuandian>li:hover {
    background-color: #FFF;
}

.yuandian .active {
    background-color: #FFF;
}

.btn span {
    position: absolute;
    display: inline-block;
    background-image: url(../img/icon-slides.png);
    background-size: 200px 100px;
}

.btn .prev {
    width: 50px;
    height: 100px;
    background-position: -100px 0;
    left: 235px;
    top: 170px;
}

.btn .prev:hover {
    width: 50px;
    height: 100px;
    background-position: 0 0;
    left: 235px;
    top: 170px;
}

.btn .next {
    width: 50px;
    height: 100px;
    background-position: -150px 0;
    right: 0;
    top: 170px;
}

.btn .next:hover {
    width: 50px;
    height: 100px;
    background-position: -50px 0;
    right: 0;
    top: 170px;
}

.main-left {
    position: absolute;
    width: 235px;
    height: 460px;
    font-size: 15px;
    color: #fff;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.main-left>li {
    height: 40px;
    line-height: 40px;
    margin: 5px 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
}

.main-left>li:hover {
    background-color: #ff6700;
}

.main-div {
    /*width: 500px;*/
    background-color: #fff;
    height: 460px;
    position: absolute;
    top: 0px;
    left: 235px;
}

.main-div .first-one {
    margin: 0 33px;
}

.main-div .first-one li {
    padding: 17px 0px;
}

.main-div .first-one li {
    display: flex;
}

.main-div .first-one li>a>span {
    position: relative;
    top: -10px;
    color: #000;
}

.main-div .first-one li>a:hover span {
    color: #ff6700;
}

.main-div .first-one li>span {
    display: inline-block;
    width: 50px;
    height: 20px;
    line-height: 20px;
    margin-top: 10px;
    margin-left: 50px;
    color: #ff6700;
    text-align: center;
    border: 1px solid #ff6700;
}

.main-div .first-one li>span:hover {
    color: #fff;
    background-color: #ff6700;
}

.main-div div>ul {
    float: left;
}

.main-div div {
    display: none;
}

.main-div .active {
    display: block;
}


/* 轮播图下方*/

main .main-sec {
    display: flex;
    justify-content: space-between;
    position: relative;
    top: 480px;
}

main .main-sec>div>a>img {
    width: 300px;
    height: 150px;
}

.section-wide {
    width: 250px;
    height: 150px;
    background-color: #5F5750;
    display: flex;
    flex-wrap: wrap;
}

.section-wide li {
    width: 83px;
    height: 75px;
    line-height: 75px;
    text-align: center;
    border: 1px solid #aaa;
}

.section-wide li>a>p {
    position: relative;
    top: -15px;
    left: 30px;
    font-size: 17px;
    color: #aaa;
}

.section-wide li>a {
    font-size: 14px;
    color: #aaa;
}

.section-wide li>a:hover {
    color: #fff;
}

.section-wide li>a:hover p {
    color: #fff;
}


/* 小米明星单品 */

.main-last {
    height: 500px;
    position: relative;
    top: 500px;
}

.main-last h2 {
    font-weight: normal;
}

.last-one {
    display: flex;
    justify-content: space-between;
}

main .last-ul {
    margin-top: 20px;
    display: flex;
}

main .last-ul li {
    padding: 25px;
    width: 235px;
    height: 340px;
    margin: 0 5px;
    background-color: #eee;
}

main .last-ul img {
    width: 90%;
    margin-bottom: 20px;
}

main .last-ul li p {
    width: 180px;
    margin: 10px;
    text-align: center;
}

.main-last .btn-last>span {
    display: inline-block;
    font-size: 30px;
    text-align: center;
    width: 50px;
    height: 25px;
    line-height: 25px;
    cursor: pointer;
    background-color: #eee;
}

.main-last .second-ul {
    height: 340px;
    display: flex;
    position: relative;
    overflow: hidden;
}

.last-cover {
    position: absolute;
}

.last-inner {
    position: absolute;
    left: 1227px;
}


/*-----------家电---------*/

.move {
    width: 100%;
    background-color: #eee;
    position: absolute;
    top: 1300px;
}

.jiadian {
    margin-bottom: 40px;
}

.jiadian h2 {
    margin: 20px 0;
    font-weight: normal;
}

.jiadian .home-ul {
    display: flex;
}

.jiadian .home-ul .left {
    width: 240px;
    height: 620px;
    margin-right: 10px;
    position: relative;
}

.jiadian .home-ul .left img {
    width: 100%;
}

.jiadian .home-ul .right {
    width: 1000px;
    /* display: flex;
    flex-wrap: wrap; */
}

.jiadian .home-ul .right li {
    width: 230px;
    height: 310px;
    margin: 5px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    float: left;
}

.jiadian .home-ul .right li:last-of-type {
    background-color: #eee;
}

.jiadian .home-ul .right img {
    margin: 10px 25px;
    width: 70%;
}

.jiadian .home-line {
    display: flex;
    justify-content: space-between;
}

.home-line .line-right {
    display: flex;
}

.home-line .line-right li {
    height: 50px;
    margin: 0 10px;
    line-height: 71px;
}

.home-ul .right li p {
    font-size: 14px;
    text-align: center;
    margin: 10px 0;
}

.home-ul .right .small .small-top {
    margin-bottom: 20px;
    width: 230px;
    height: 145px;
    background-color: #fff;
    position: relative;
}

.home-ul .right .small .small-top img {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 40%;
}

.home-ul .right .small .small-bottom {
    width: 230px;
    height: 145px;
    background-color: #fff;
    position: relative;
}

.home-ul .right .small .small-top span {
    position: relative;
    top: 40px;
    margin-left: 20px;
}

.home-ul .right .small .small-bottom .fa {
    position: absolute;
    top: 50px;
    right: 0;
    font-size: 50px;
    color: #ff6700;
    margin-right: 25px;
}

.home-ul .right .small .small-bottom h3>a {
    font-weight: normal;
    position: absolute;
    top: 50px;
    margin-left: 20px;
}

.home-ul .right .small .small-bottom span>a {
    position: absolute;
    top: 80px;
    font-size: 12px;
    margin-left: 20px;
}

.home-ul .right .home-cover {
    position: absolute;
    width: 230px;
    height: 94px;
    margin: 10px 0;
    background-color: #ff6700;
    color: #fff;
    top: 300px;
}

.home-ul .home-move:hover {
    box-shadow: 0.2px 10px 30px rgba(0, 0, 0, 0.2);
}

.sec-inner .right {
    position: absolute;
    display: none;
}

.sec-inner .secul-move {
    display: block;
}

.home-line .line-right .line {
    color: #ff6700;
    border-bottom: 2px solid #ff6700;
}

.home-ul .left li {
    position: relative;
    margin-bottom: 10px;
}


/*-----------推荐-----------*/

.tuijian .tuijian-line {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.tuijian .tuijian-line h2 {
    font-weight: normal;
}

.tuijian .tuijian-line .btn-tuijian span {
    display: inline-block;
    width: 50px;
    height: 25px;
    font-size: 25px;
    text-align: center;
    line-height: 25px;
    background-color: #fff;
}

.btn-tuijian span:hover {
    color: #ff6700;
}

.tuijian-move .tuijian-ul li {
    width: 236px;
    height: 300px;
    margin-right: 10px;
    position: relative;
    background-color: #fff;
}

.tuijian-move .tuijian-ul {
    width: 1227px;
    display: flex;
}

.tuijian-move .tuijian-ul li img {
    margin: 25px 45px;
}

.tuijian-move .tuijian-ul li p {
    text-align: center;
    margin-bottom: 10px;
}

.tuijian-move {
    width: 1227px;
    height: 350px;
    overflow: hidden;
}

.tuijian .tuijian-move .tuijian-inner {
    width: 4920px;
    position: relative;
}

.tuijian-move .tuijian-inner .tuijian-ul {
    float: left;
}

.tuijian-move .tuijian-ul li:hover {
    box-shadow: 0.2px 10px 30px rgba(0, 0, 0, 0.2);
}


/*----热评-----*/

.ping h2 {
    font-weight: normal;
    margin: 10px 0;
}

.ping-ul {
    display: flex;
    justify-content: space-between;
}

.ping-ul li {
    width: 300px;
    height: 400px;
    background-color: #fff;
    position: relative;
}

.ping-ul li img {
    width: 100%;
    margin-bottom: 20px;
}

.ping-ul li p {
    font-size: 14px;
    margin: 10px 20px;
    color: rgb(51, 51, 51);
}

.ping-ul li:hover {
    box-shadow: 0.2px 10px 30px rgba(0, 0, 0, 0.2);
}


/*----内容-----*/

.text h2 {
    font-weight: normal;
    margin-top: 50px;
    margin-bottom: 10px;
}

.text .text-ul {
    display: flex;
    justify-content: space-between;
}

.text .text-ul li {
    width: 300px;
    height: 400px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.text .text-ul li h3 {
    font-weight: normal;
    margin: 0px 35px;
}

.text .text-ul li p {
    text-align: center;
}

.text .text-ul li img {
    margin: 20px 45px;
}

.text .text-ul .btn {
    display: inline-block;
    width: 20px;
    height: 40px;
    color: #fff;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 170px;
    display: none; 
}

.text .text-ul .next {
    right: 0;
}

.text .text-ul .prev {
    left: 0;
}

.text .text-ul .btn:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.text .text-ul .text-first-li section .text-first {
    width: 300px;
    float: left;
}

.text .text-ul .text-first-li section {
    width: 900px;
    position: relative;
}

.text-ul .text-first-li .yuandian {
    width: 100px;
    height: 20px;
    position: absolute;
    top: 350px;
    left: 85px;
    display: flex;
    justify-content: space-around;
}

.text-ul .text-first-li .yuandian .yuan {
    width: 10px;
    height: 10px;
    background-color: #999;
    border-radius: 50%;
}

.text-ul .text-first-li .yuandian .active {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #ff6700;
    background-color: #fff;
}

.text-ul .text-first-li:hover {
    box-shadow: 0.2px 10px 30px rgba(0, 0, 0, 0.2);
}


/*-----视频-----*/

.shipin section {
    display: flex;
    margin-top: 40px;
    justify-content: space-between;
}

.shipin section>p>span {
    margin-left: 10px;
    display: inline-block;
    width: 25px;
    height: 25px;
    background-color: #555;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    line-height: 25px;
    color: #fff;
}

.shipin h2 {
    font-weight: normal;
    margin-bottom: 20px;
}

.shipin .shipin-ul {
    margin-bottom: 100px;
    display: flex;
    justify-content: space-between;
}

.shipin .shipin-ul li {
    width: 296px;
    height: 290px;
    position: relative;
    background-color: #fff;
}

.shipin .shipin-ul li:hover {
    box-shadow: 0.2px 10px 30px rgba(0, 0, 0, 0.2);
}

 .shipin .shipin-ul li>a>img {
    margin-bottom: 10px;
} 

.shipin .shipin-ul li>p {
    font-size: 15px;
    text-align: center;
}
.shipin .shipin-ul li>p.bian:hover{
    color: #ff6700;
    cursor: pointer;
}
.shipin .shipin-ul li>a>div {
    width: 40px;
    height: 25px;
    border-radius: 40%;
    background-color: #333;
    border: 2px solid #fff;
    position: relative;
    top: -70px;
    left: 10px;
}
.shipin .shipin-ul li>a>div>span {
    width: 0;
    height: 0;
    display: inline-block;
    border-bottom: 8px solid transparent;
    border-top: 8px solid transparent;
    border-right: 8px solid transparent;
    border-left: 8px solid #fff;
    position: relative;
    top: 2px;
    left: 13px;
}
/*--------底部---------*/

footer {
    background-color: #fff;
    width: 100%;
    height: 300px;
    position: absolute;
    bottom: -7000px;
}

.foot-head {
    position: relative;
    top: -50px;
    display: flex;
    justify-content: space-around;
}

.foot-head li {
    width: 200px;
    border-right: 1px solid #aaa;
}

.foot-head li>a {
    font-size: 18px;
    color: #aaa;
}

.foot-head li>a i {
    margin-right: 10px;
    font-size: 30px;
    color: #aaa;
}

footer>div>section {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
}

.foot-left {
    width: 900px;
    display: flex;
    justify-content: space-between;
}

.foot-inner {
    margin-top: 25px;
}

.foot-inner a {
    font-size: 13px;
    color: #aaa;
}

.foot-inner a:hover {
    color: #ff6700;
}

.foot-right {
    color: #777;
    width: 300px;
    border-left: 1px solid #aaa;
    text-align: center;
}

.foot-right button {
    margin-top: 15px;
    color: #ff6700;
    width: 130px;
    height: 30px;
    background-color: #fff;
    border: 1px solid #ff6700;
}

.foot-right button:hover {
    background-color: #ff6700;
    color: #fff;
}

.bottom {
    width: 100%;
    height: 150px;
    background-color: #eee;
}

.bottom section {
    padding-top: 30px;
}

.bottom-left {
    display: flex;
    justify-content: flex-end;
}

.bottom-left .ul-center {
    margin-left: 15px;
}

.bottom-left .ul-center li {
    font-size: 12px;
    color: #aaa;
    margin: 1px 0;
}

.bottom-left .ul-center .second>a {
    font-size: 13px;
    color: #aaa;
}

.bottom-left .ul-center .second>a:hover {
    color: #ff6700;
}

.bottom-right .ul-right {
    display: flex;
}

.ul-center .first p a {
    margin-right: 2px;
    color: #555;
}

.ul-center .first p a:hover {
    color: #ff6700;
}